<?php
/* @var $this GameController */
/* @var $model Game */
/* @var $form bootstrap.widgets.TbActiveForm */
?>
<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->textFieldRow($model,'id',array('class'=>'span3')); ?>

	<?php echo $form->textFieldRow($model,'name',array('class'=>'span3','maxlength'=>255)); ?>

	<?php echo $form->textFieldRow($model,'slug',array('class'=>'span3','maxlength'=>255)); ?>

	<?php echo $form->textFieldRow($model,'bggId',array('class'=>'span3')); ?>

	<?php echo $form->textFieldRow($model,'minPlayers',array('class'=>'span3')); ?>

	<?php echo $form->textFieldRow($model,'maxPlayers',array('class'=>'span3')); ?>

	<?php echo $form->textFieldRow($model,'playTime',array('class'=>'span3')); ?>

	<?php echo $form->textFieldRow($model,'weight',array('class'=>'span3','maxlength'=>5)); ?>

	<?php echo $form->textFieldRow($model,'average',array('class'=>'span3','maxlength'=>6)); ?>

	<?php echo $form->textFieldRow($model,'minAge',array('class'=>'span3')); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
		    'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Search',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
